package com.doudou.pay.helper.entities;

import java.io.Serializable;

public class MerchantRequestPay implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private double money;
	private String remark;
	private String type;
	private String userId;
	private String payUrl;
	private String thirdPartyOrderId;
	private String name;
	private String accountId;
	private int code;
	private String define;

	public MerchantRequestPay() {
	}

	public MerchantRequestPay(UserPay userPay) {
		this.money = userPay.getMoney();
		this.remark = userPay.getRemark();
		this.type = userPay.getType();
		this.userId = userPay.getUserId();
		this.thirdPartyOrderId = userPay.getThirdPartyOrderId();
	}

	public String getThirdPartyOrderId() {
		return thirdPartyOrderId;
	}

	public void setThirdPartyOrderId(String thirdPartyOrderId) {
		this.thirdPartyOrderId = thirdPartyOrderId;
	}

	public String getPayUrl() {
		return payUrl;
	}

	public void setPayUrl(String payUrl) {
		this.payUrl = payUrl;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getDefine() {
		return define;
	}

	public void setDefine(String define) {
		this.define = define;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	@Override
	public String toString() {
		return "MerchantRequestPay [money=" + money + ", remark=" + remark
				+ ", type=" + type + ", userId=" + userId + ", code=" + code
				+ ", define=" + define + "]";
	}

}
